/*
 * @Author: yangy aidreams@sina.com
 * @Date: 2024-03-04 10:22:25
 * @LastEditors: yangy aidreams@sina.com
 * @LastEditTime: 2024-03-08 16:10:54
 * @FilePath: /vue3-framework/src/main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// main.js
import { createApp } from "vue";
import App from "./App.vue";
import router from "@/router";
import store from "@/store/index";
import components from "@/components";
// import icons from "@/icons"; // icon
import Vant from "vant";
import "vant/lib/index.css";
import { registerPlugins } from "./utils/util";

const plugins = [Vant, store, router];
// 初始化 Vue 实例
const app = createApp(App);
app.use(registerPlugins(plugins)).mount("#app");
